UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

HAProxy log files must not be accessible to unauthorized users.


Overview

Finding ID Version Rule ID IA Controls Severity
V-89141 VRAU-HA-000095 SV-99791r1_rule Medium
Description
The HAProxy log files provide audit data useful to the discovery of suspicious behavior. The log files may contain usernames and passwords in clear text as well as other information that could aid a malicious user with unauthorized access attempts to the database. Generation and protection of these files helps support security monitoring efforts.
STIG Date
VMW vRealize Automation 7.x HA Proxy Security Technical Implementation Guide 2018-10-12

Details

Check Text ( C-88833r1_chk )
At the command prompt, execute the following command:

ls -la /var/log/vmware/vcac/vcac-config.log

If the log file has permissions more permissive than "640", this is a finding.
Fix Text (F-95883r1_fix)
At the command prompt, execute the following command:

sed -i "/^[^#]*UMASK/ c\UMASK 077" /etc/login.defs